<?php

require 'init.php';


$params = array(
    'host' => 'localhost',
    'dbname' => 'coba_enzine',
    'username' => 'nora',
    'password' => 'nora123'
);

$db = new DataService_Adapter_Mysql($params);
$model = new User_Model_User();
$user = $model->findById(1);

$user->fullName =  'nguyen van hanh';
$result =  $user->update();
var_dump($result);
//print_r($data);
